using System;
using System.Collections.Generic;
using System.Text;
using MaskData;

namespace DBProxy
{
	public class Factory
	{
        private Factory() { }
        private static Factory _Instance = new Factory();
        public static Factory Instance()
        {
            return _Instance;
        }
		public IMaskNodeWriter CreateWriter()
		{
			IMaskNodeWriter writer = new AccessMaskNodeWriter();
			return writer;
		}
		public ITypesReader CreateReader()
		{
			ITypesReader reader = new AccessTypesReader();
			return reader;
		}
		public IQueryMask CreateQueryMask()
		{
			IQueryMask queryMask = new AccessQuery();
			return queryMask;
		}
	}
}
